<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script>
function openwindow(str)
{
  window.open("doTree.jsp?sid="+str+"&pd=","部门","height=380,width=260,top=230,left=450,scrollbars=yes"); 
   //showModalDialog("doTree.jsp","部门","height=380,width=260,top=230,left=250,scrollbars=yes");
}
function yz(){
		var bmbh=document.getElementById("bmbh").value;
		if(bmbh=="")
		{
		alert("请选择部门");
		return false;
		}else{
		return true;
		}
	}
</script>
</head>

<body>
<form id="form1" name="form1" method="post" action="cjgzrsgl.do" target="rightFrame" onsubmit="return yz();">
<input type="hidden" value="" name="falg" id="falg"/>
  请选择单位：
  
  
  <input type="text" name="bm" id="bm"  class="SmallInput" onclick="openwindow(1)"  disabled="disabled"/>
  <a href="javascript:openwindow(1);">选择</a>
  <input type="submit" name="button" id="button" value="查看统计表"  onclick="document.getElementById('falg').value='';"/>
 <input type="submit" name="button2" id="button2" value="查看统计图"  onclick="document.getElementById('falg').value=1;"/>
 <input type="hidden" id ="bmbh" name="bmbh"  />
</form>
</body>
</html>
